package com.example.demo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * @Author: yucsa
 * @Date: 2021/8/21 17:35
 * 订单实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Order implements Serializable {
    private static final long serialVersionUID = -1241360949457314496L;
    private Long id;
    private Long userId;
    private Timestamp date;
    private Integer state;//0:未付款 1:已付款 2:已发货 3:完成
    private String notes;
    private String founder;
    private Timestamp foundTime;
    private String updater;
    private Timestamp updateTime;
    private Byte isDelete;
}